﻿{extend name="public:base" /}

{block name="content"}

<div class="wrapper wrapper-content animated fadeInRight">
    <form method="post" class="row">
        <style>
            .set-font {
                font-size: 24px;
                font-weight: bold;
            }
        </style>
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title set-font">banner</div>
                <div class="ibox-content">
                    <div class="box-item">
                        <div class="form-group row"><label class="col-sm-1 col-form-label">banner</label>
                            <div class="col-sm-3">
                                <input type="file" id="img_file" style="display: none">
                                <input type="hidden" name="img" id="img" value="{$info['img']|default=''}"/>
                                <img class="upload-file" onclick="uploadIndexImg('img_file', 'img', 'upload_img')" id="upload_img" src="{$info.img ? getPicture($info.img) : '__ADMIN__/img/uploadBtn.png'}">
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="ibox ">
                <div class="ibox-title set-font">关于我们</div>
                <div class="ibox-content">
                    <div class="box-item">
                        <div class="form-group row"><label class="col-sm-1 col-form-label">图片</label>
                            <div class="col-sm-3">
                                <input type="file" id="about_img_file" style="display: none">
                                <input type="hidden" name="about_img" id="about_img" value="{$info['about_img']|default=''}"/>
                                <img class="upload-file" onclick="uploadIndexImg('about_img_file', 'about_img', 'upload_about_img')" id="upload_about_img" src="{$info.about_img ? getPicture($info.about_img) : '__ADMIN__/img/uploadBtn.png'}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">内容</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="about_desc" rows="8">{$info.about_desc}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="ibox ">
                <div class="ibox-title set-font">拳头产品</div>
                <div class="ibox-content">
                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">描述</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="product_desc" rows="8">{$info.product_desc}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">养殖面积（亩）</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="product_yzmj" placeholder="请输入拳头产品养殖面积" value="{$info.product_yzmj}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">在栏养殖数量（万羽）</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="product_yzsl" placeholder="请输入拳头产品养殖面积" value="{$info.product_yzsl}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">年出栏产量（万羽）</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="product_cl" placeholder="请输入拳头产品年出栏产量" value="{$info.product_cl}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">养殖时间描述</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="product_yzsj_desc" rows="8">{$info.product_yzsj_desc}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">生长环境描述</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="product_szhj_desc" rows="8">{$info.product_szhj_desc}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">喂养饲料描述</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="product_wysl_desc" rows="8">{$info.product_wysl_desc}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">科学管理描述</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="product_kxgl_desc" rows="8">{$info.product_kxgl_desc}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                </div>
            </div>

            <div class="ibox ">
                <div class="ibox-title set-font">企业文化</div>
                <div class="ibox-content">
                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">愿景</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="culture_yj" rows="8">{$info.culture_yj}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">使命</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="culture_sm" rows="8">{$info.culture_sm}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>

                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">价值观</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="culture_jzg" rows="8">{$info.culture_jzg}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                </div>
            </div>

            <div class="ibox ">
                <div class="ibox-title set-font">销售模式</div>
                <div class="ibox-content">
                    <div class="box-item">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label">销售模式</label>
                            <div class="col-sm-3">
                                <textarea class="form-control" name="sales_mode" rows="8">{$info.sales_mode}</textarea>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                </div>
            </div>

            <div class="ibox ">
                <div class="ibox-content">
                    <div class="form-group row">
                        <div class="col-sm-4 col-sm-offset-2">
                            <button type="button" class="btn btn-w-m btn-default back-page">返回</button>
                            <button type="button" class="btn btn-w-m btn-primary ajax-post">提交</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

{/block}

{block name='js'}
<script type="text/javascript" src="__PLUG__/kindeditor/kindeditor-all.js"></script>
<script>
    <!-- 实例化编辑器 -->
    initKindEditor('editor_id');
</script>{/block}
